package com.youi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.youi.common.DelStatus;

import java.io.Serializable;
import java.util.Date;


/**
 *  团长提现申请
 * @author XJY
 */
@ExcelTarget(value = "leaderwithdraw", height = 14.0)
public class Leaderwithdraw implements Serializable {

	private Long id;							//ID
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Integer status;					    //状态(-1作废 0未审核 1已审核(提现中) 2提现成功 3提现失败)



	/**
	 * 提现单号
	 */
	@Excel(name = "提现单号", width = 19)
	private String orderNo;					    //提现单号

	/**
	 * 期号
	 */
	@Excel(name = "期号", width = 19)
	private String dateNo;						//期号

	/**
	 * 团长编号
	 */
	@Excel(name = "团长编号", width = 19)
	private Long leaderId;					    //团长id

	/**
	 * 认证门店号
	 */
	@Excel(name = "认证门店号", width = 19)
	private String belongStoreCode;				//所属门店编号

	/**
	 * 所属门店
	 */
	@Excel(name = "所属门店", width = 19)
	private String belongStore;





	private String leaderName;				    //持卡人姓名
	private String idCardNo;					//身份证号码

	/**
	 * 团长名称
	 */
	@Excel(name = "团长名称", width = 19)
	private String name;						//团长名称

	/**
	 * 申请提现金额
	 */
	@Excel(name = "申请提现金额", width = 19)
	private Double amount;					    //申请提现金额

	/**
	 * 申请提现前的金额
	 */
	@Excel(name = "申请提现前的金额", width = 19)
	private Double leaderAmount;				//申请提现的时候的可提现余额

	/**
	 * 累计已提现金额
	 */
	@Excel(name = "累计已提现金额", width = 19)
	private Double withdres;					//已提现金额

	/**
	 * 手续费(2%)
	 */
	@Excel(name = "手续费(2%)", width = 19)
	private Double commission;				    //申请提现的手续费

	/**
	 * 实际到账金额
	 */
	@Excel(name = "实际到账金额", width = 19)
	private Double realAnt;					    //实际到账金额

	/**
	 * 云享手续费
	 */
	@Excel(name = "云享手续费", width = 19)
	private Double serviceCharge;				//代付的手续费

	/**
	 * 云享打款金额
	 */
	@Excel(name = "云享打款金额", width = 19)
	private Double realityExpend;				//实际打款金额

	private String leaderBankName;			    //提现主行名称
	private String leaderBankNo;			    //银行卡号

	/**
	 * 提现方式
	 */
	@Excel(name = "提现方式", width = 19)
	private String withdrawType;

	/**
	 * 审核状态
	 */
	@Excel(name = "审核状态", width = 19)
	private String statusTxt;


	private Long auditorId;						//审核人id

	/**
	 * 审核人
	 */
	@Excel(name = "审核人", width = 19)
	private String auditorName;					//审核人名称



	/**
	 * 审核时间
	 */
	@Excel(name = "审核时间", width = 19)
	private String gmtAuditTxt;

	private Date gmtAudit;						//审核时间

	/**
	 * 提现时间
	 */
	@Excel(name = "提现时间", width = 19)
	private String gmtWithdrawTxt;

	private Date gmtWithdraw;					//提现时间

	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间", width = 19)
	private String gmtCreatedTxt;

	private Date gmtCreated;					//创建时间



    public Leaderwithdraw(){
    	this.gmtCreated=new Date();
        this.delStatus=DelStatus.NODEL;
        this.gmtModify=gmtCreated;
        this.status=0;
    }

    public Leaderwithdraw(Long leaderId,String belongStore,String belongStoreCode) {
    	this.gmtCreated=new Date();
        this.delStatus=DelStatus.NODEL;
        this.gmtModify=gmtCreated;
        this.status=0;
        this.leaderId=leaderId;
        this.belongStore=belongStore;
        this.belongStoreCode=belongStoreCode;
    }


    public Leaderwithdraw(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Integer status,Long leaderId,String belongStore,String orderNo,String leaderName,String leaderBankName,String leaderBankNo,Double amount,Double commission,Double realAnt) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.status=status;
       this.leaderId=leaderId;
       this.belongStore=belongStore;
       this.orderNo=orderNo;
       this.leaderName=leaderName;
       this.leaderBankName=leaderBankName;
       this.leaderBankNo=leaderBankNo;
       this.amount=amount;
       this.commission=commission;
       this.realAnt=realAnt;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setStatus(Integer status){
		this.status=status;
	}

	public Integer getStatus(){
		return status;
	}

	public void setLeaderId(Long leaderId){
		this.leaderId=leaderId;
	}

	public Long getLeaderId(){
		return leaderId;
	}

	public void setBelongStore(String belongStore){
		this.belongStore=belongStore;
	}

	public String getBelongStore(){
		return belongStore;
	}

	public void setOrderNo(String orderNo){
		this.orderNo=orderNo;
	}

	public String getOrderNo(){
		return orderNo;
	}

	public void setLeaderName(String leaderName){
		this.leaderName=leaderName;
	}

	public String getLeaderName(){
		return leaderName;
	}

	public void setLeaderBankName(String leaderBankName){
		this.leaderBankName=leaderBankName;
	}

	public String getLeaderBankName(){
		return leaderBankName;
	}

	public void setLeaderBankNo(String leaderBankNo){
		this.leaderBankNo=leaderBankNo;
	}

	public String getLeaderBankNo(){
		return leaderBankNo;
	}

	public void setAmount(Double amount){
		this.amount=amount;
	}

	public Double getAmount(){
		return amount;
	}

	public void setCommission(Double commission){
		this.commission=commission;
	}

	public Double getCommission(){
		return commission;
	}

	public void setRealAnt(Double realAnt){
		this.realAnt=realAnt;
	}

	public Double getRealAnt(){
		return realAnt;
	}

	public Double getServiceCharge() {
		return serviceCharge;
	}

	public void setServiceCharge(Double serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	public String getIdCardNo() {
		return idCardNo;
	}

	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo;
	}

	public Double getLeaderAmount() {
		return leaderAmount;
	}

	public void setLeaderAmount(Double leaderAmount) {
		this.leaderAmount = leaderAmount;
	}

	public String getDateNo() {
		return dateNo;
	}

	public void setDateNo(String dateNo) {
		this.dateNo = dateNo;
	}

	public String getBelongStoreCode() {
		return belongStoreCode;
	}

	public void setBelongStoreCode(String belongStoreCode) {
		this.belongStoreCode = belongStoreCode;
	}

	public Long getAuditorId() {
		return auditorId;
	}

	public void setAuditorId(Long auditorId) {
		this.auditorId = auditorId;
	}

	public Date getGmtAudit() {
		return gmtAudit;
	}

	public void setGmtAudit(Date gmtAudit) {
		this.gmtAudit = gmtAudit;
	}

	public Date getGmtWithdraw() {
		return gmtWithdraw;
	}

	public void setGmtWithdraw(Date gmtWithdraw) {
		this.gmtWithdraw = gmtWithdraw;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getWithdres() {
		return withdres;
	}

	public void setWithdres(Double withdres) {
		this.withdres = withdres;
	}

	public String getAuditorName() {
		return auditorName;
	}

	public void setAuditorName(String auditorName) {
		this.auditorName = auditorName;
	}

	public Double getRealityExpend() {
		return realityExpend;
	}

	public void setRealityExpend(Double realityExpend) {
		this.realityExpend = realityExpend;
	}

	public String getWithdrawType() {
		return withdrawType;
	}

	public void setWithdrawType(String withdrawType) {
		this.withdrawType = withdrawType;
	}

	public String getStatusTxt() {
		return statusTxt;
	}

	public void setStatusTxt(String statusTxt) {
		this.statusTxt = statusTxt;
	}

	public String getGmtAuditTxt() {
		return gmtAuditTxt;
	}

	public void setGmtAuditTxt(String gmtAuditTxt) {
		this.gmtAuditTxt = gmtAuditTxt;
	}

	public String getGmtWithdrawTxt() {
		return gmtWithdrawTxt;
	}

	public void setGmtWithdrawTxt(String gmtWithdrawTxt) {
		this.gmtWithdrawTxt = gmtWithdrawTxt;
	}

	public String getGmtCreatedTxt() {
		return gmtCreatedTxt;
	}

	public void setGmtCreatedTxt(String gmtCreatedTxt) {
		this.gmtCreatedTxt = gmtCreatedTxt;
	}
}
